﻿

namespace Mulala.Cavan.Presentation.Mvc.ViewModel
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Mulala.Cavan.Presentation.Seedwork;
    using Mulala.Cavan.Domain.MainBoundedContext.ProprietorModule;
    using Mulala.Cavan.Domain.MainBoundedContext.SearchModule;

    public interface IProprietorViewModel : IEditModel<Proprietor, int, ProprietorSearch>
    {
        string Avatar { get; set; }
        /// <summary>
        /// 委托总数
        /// </summary>
        long ConsignTotal { get; set; }
        /// <summary>
        /// 竞标总数
        /// </summary>
        long ConsignBidderTotal { get; set; }
    }

    public interface IProprietorsViewModel : IWebModel
    {
        IList<IProprietorViewModel> Proprietors { get; set; }
    }
}
